inherited dtmcg_OrderMaster: Tdtmcg_OrderMaster
  OldCreateOrder = True
  Left = 688
  Top = 269
  Height = 606
  Width = 674
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from V_cg_OrderMaster where 0=1'
    object adsMasterOrderID: TStringField
      DisplayLabel = #35746#21333'ID'
      FieldName = 'OrderID'
    end
    object adsMasterOrderNo: TStringField
      DisplayLabel = #35746#21333#32534#21495
      FieldName = 'OrderNo'
    end
    object adsMasterOrderDate: TDateTimeField
      DisplayLabel = #19979#21333#26085#26399
      FieldName = 'OrderDate'
    end
    object adsMasterOrderType: TStringField
      DisplayLabel = #35746#21333#31867#22411
      FieldName = 'OrderType'
    end
    object adsMasterOrderTypeName: TStringField
      DisplayLabel = #35746#21333#31867#22411
      FieldName = 'OrderTypeName'
      Size = 50
    end
    object adsMasterOrderStatus: TStringField
      DisplayLabel = #35746#21333#29366#24577
      FieldName = 'OrderStatus'
    end
    object adsMasterOrderStatusName: TStringField
      DisplayLabel = #35746#21333#29366#24577
      FieldName = 'OrderStatusName'
      Size = 50
    end
    object adsMasterOrderKind: TStringField
      DisplayLabel = #19979#21333#26041#24335
      FieldName = 'OrderKind'
    end
    object adsMasterOrderKindName: TStringField
      DisplayLabel = #19979#21333#26041#24335
      FieldName = 'OrderKindName'
      Size = 50
    end
    object adsMasterOrderFlow: TStringField
      DisplayLabel = #28304#21333#31867#22411
      FieldName = 'OrderFlow'
    end
    object adsMasterOrderFlowName: TStringField
      DisplayLabel = #28304#21333#31867#22411
      FieldName = 'OrderFlowName'
      Size = 50
    end
    object adsMasterDataType: TStringField
      DisplayLabel = #21333#25454#31867#22411
      FieldName = 'DataType'
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterSupplyID: TStringField
      DisplayLabel = #20379#24212#21830'ID'
      FieldName = 'SupplyID'
    end
    object adsMasterSupplyCode: TStringField
      DisplayLabel = #20379#24212#21830#32534#30721
      FieldName = 'SupplyCode'
    end
    object adsMasterSupplyShortName: TStringField
      DisplayLabel = #20379#24212#21830#21517#31216
      FieldName = 'SupplyShortName'
      Size = 50
    end
    object adsMasterSupplyFullName: TStringField
      DisplayLabel = #20379#24212#21830#20840#31216
      FieldName = 'SupplyFullName'
      Size = 50
    end
    object adsMasterHelperCode: TStringField
      DisplayLabel = #21161#35760#30721
      FieldName = 'HelperCode'
      Size = 10
    end
    object adsMasterContractNo: TStringField
      DisplayLabel = #21512#21516#32534#21495
      FieldName = 'ContractNo'
      Size = 50
    end
    object adsMasterEmpID: TStringField
      DisplayLabel = #37319#36141#21592
      FieldName = 'EmpID'
    end
    object adsMasterEmpName: TStringField
      DisplayLabel = #37319#36141#21592
      FieldName = 'EmpName'
    end
    object adsMasterProcessID: TStringField
      DisplayLabel = #31867#22411'ID'
      FieldName = 'ProcessID'
    end
    object adsMasterProcessName: TStringField
      DisplayLabel = #31867#22411
      FieldName = 'ProcessName'
      Size = 50
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from cg_OrderMaster'
    Left = 128
    Top = 24
    object adsMasterEditOrderID: TStringField
      DisplayLabel = #35746#21333'ID'
      FieldName = 'OrderID'
    end
    object adsMasterEditOrderNo: TStringField
      DisplayLabel = #35746#21333#32534#21495
      FieldName = 'OrderNo'
    end
    object adsMasterEditOrderDate: TDateTimeField
      DisplayLabel = #19979#21333#26085#26399
      FieldName = 'OrderDate'
    end
    object adsMasterEditOrderType: TStringField
      DisplayLabel = #19979#21333#26041#24335
      FieldName = 'OrderType'
      OnChange = adsMasterEditOrderTypeChange
    end
    object adsMasterEditOrderStatus: TStringField
      DisplayLabel = #35746#21333#29366#24577
      FieldName = 'OrderStatus'
    end
    object adsMasterEditOrderKind: TStringField
      DisplayLabel = #19979#21333#31867#22411
      FieldName = 'OrderKind'
    end
    object adsMasterEditOrderFlow: TStringField
      DisplayLabel = #28304#21333#31867#22411
      FieldName = 'OrderFlow'
    end
    object adsMasterEditDataType: TStringField
      DisplayLabel = #21333#25454#31867#22411
      FieldName = 'DataType'
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditSupplyID: TStringField
      DisplayLabel = #20379#24212#21830'ID'
      FieldName = 'SupplyID'
    end
    object adsMasterEditres_SupplyName: TStringField
      DisplayLabel = #20379#24212#21830#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_SupplyName'
      LookupDataSet = res_Supply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyShortName'
      KeyFields = 'SupplyID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_SupplyFullName: TStringField
      DisplayLabel = #20379#24212#21830#20840#31216
      FieldKind = fkLookup
      FieldName = 'res_SupplyFullName'
      LookupDataSet = res_Supply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyFullName'
      KeyFields = 'SupplyID'
      Size = 100
      Lookup = True
    end
    object adsMasterEditEmpID: TStringField
      DisplayLabel = #37319#36141#21592
      FieldName = 'EmpID'
    end
    object adsMasterEditres_empname: TStringField
      DisplayLabel = #37319#36141#21592
      FieldKind = fkLookup
      FieldName = 'res_EmpName'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'EmpID'
      Size = 30
      Lookup = True
    end
    object adsMasterEditProcessID: TStringField
      DisplayLabel = #31867#22411'ID'
      FieldName = 'ProcessID'
    end
    object adsMasterEditres_ProcessName: TStringField
      DisplayLabel = #31867#22411
      FieldKind = fkLookup
      FieldName = 'res_ProcessName'
      LookupDataSet = ads_Process
      LookupKeyFields = 'ProcessID'
      LookupResultField = 'ProcessName'
      KeyFields = 'ProcessID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditContractNo: TStringField
      DisplayLabel = #21512#21516#32534#21495
      FieldName = 'ContractNo'
      Size = 50
    end
    object adsMasterEdititems: TStringField
      DisplayLabel = #35746#21333#26465#27454
      FieldName = 'items'
      Size = 1500
    end
    object adsMasterEditMaxOrderDetailNo: TIntegerField
      DisplayLabel = #35746#21333#26368#22823#27969#27700#21495
      FieldName = 'MaxOrderDetailNo'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object adsDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    BeforePost = adsDetailBeforePost
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from cg_OrderDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 192
    Top = 40
    object adsDetailID: TStringField
      FieldName = 'ID'
    end
    object adsDetailOrderID: TStringField
      DisplayLabel = #35746#21333'ID'
      FieldName = 'OrderID'
    end
    object adsDetailOrderDetailNo: TStringField
      DisplayLabel = #37319#36141#35746#21333#26126#32454#21333#21495
      FieldName = 'OrderDetailNo'
    end
    object adsDetailCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsDetailres_CustName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_CustName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustShortName'
      KeyFields = 'CustID'
      Lookup = True
    end
    object adsDetailCustOrderDetailNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#26126#32454#21333#21495
      FieldName = 'CustOrderDetailNo'
    end
    object adsDetailCustOrderNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#21495
      FieldName = 'CustOrderNo'
    end
    object adsDetailCustProductCode: TStringField
      DisplayLabel = #23458#25143#36135#21495
      FieldName = 'CustProductCode'
      Size = 50
    end
    object adsDetailCustColor: TStringField
      DisplayLabel = #23458#25143#39068#33394
      FieldName = 'CustColor'
      Size = 50
    end
    object adsDetailProductID: TStringField
      DisplayLabel = #20135#21697'ID'
      FieldName = 'ProductID'
    end
    object adsDetailProductCode: TStringField
      DisplayLabel = #20135#21697#32534#30721
      FieldName = 'ProductCode'
      Size = 50
    end
    object adsDetailProductName: TStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'ProductName'
      Size = 200
    end
    object adsDetailSpecs: TStringField
      DisplayLabel = #22411#21495#35268#26684
      FieldName = 'Specs'
      Size = 200
    end
    object adsDetailSupplySpecs: TStringField
      DisplayLabel = #20379#24212#21830#22411#21495
      FieldName = 'SupplySpecs'
      Size = 50
    end
    object adsDetailColorID: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object adsDetailColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsDetailColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 50
    end
    object adsDetailHeight: TStringField
      DisplayLabel = #33457#39640
      FieldName = 'Height'
      Size = 50
    end
    object adsDetailWidth: TStringField
      DisplayLabel = #33457#23485
      FieldName = 'Width'
      Size = 50
    end
    object adsDetailBreadth: TStringField
      DisplayLabel = #24133#23485
      FieldName = 'Breadth'
      Size = 50
    end
    object adsDetailGram: TStringField
      DisplayLabel = #20811#37325
      FieldName = 'Gram'
      Size = 50
    end
    object adsDetailPieceCount: TFloatField
      DisplayLabel = #19979#21333#21305#25968
      FieldName = 'PieceCount'
    end
    object adsDetailNumber: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'Number'
      OnChange = adsDetailNumberChange
      Precision = 18
      Size = 2
    end
    object adsDetailUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsDetailres_UnitName: TStringField
      DisplayLabel = #21333#20301
      FieldKind = fkLookup
      FieldName = 'res_UnitName'
      LookupDataSet = res_Unit
      LookupKeyFields = 'UnitID'
      LookupResultField = 'UnitName'
      KeyFields = 'UnitID'
      Size = 10
      Lookup = True
    end
    object adsDetailPrice: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'Price'
      OnChange = adsDetailPriceChange
    end
    object adsDetailMoney: TBCDField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
      Precision = 18
      Size = 2
    end
    object adsDetailBuyRequest: TStringField
      DisplayLabel = #37319#36141#35201#27714
      FieldName = 'BuyRequest'
      Size = 500
    end
    object adsDetailBuyStatus: TWordField
      DisplayLabel = #25910#36135#24773#20917
      FieldName = 'BuyStatus'
    end
    object adsDetailRequestDate: TDateTimeField
      DisplayLabel = #20132#36135#26085#26399
      FieldName = 'RequestDate'
    end
    object adsDetailDdRequestDate: TDateTimeField
      DisplayLabel = #23458#25143#35201#27714#36135#26399
      FieldName = 'DdRequestDate'
    end
    object adsDetailBuyNumber: TFloatField
      DisplayLabel = #25910#36135#25968#37327
      FieldName = 'BuyNumber'
    end
    object adsDetailBuyDate: TDateTimeField
      DisplayLabel = #25910#36135#26085#26399
      FieldName = 'BuyDate'
    end
    object adsDetailBackNumber: TFloatField
      DisplayLabel = #36864#36135#25968#37327
      FieldName = 'BackNumber'
    end
    object adsDetailBackDate: TDateTimeField
      DisplayLabel = #36864#36135#26085#26399
      FieldName = 'BackDate'
    end
    object adsDetailStatus: TIntegerField
      DisplayLabel = #29366#24577
      FieldName = 'Status'
    end
    object adsDetailWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsDetailWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsDetailModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsDetailModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsDetailRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object res_Supply: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select SupplyID, SupplyCode, SupplyShortName, SupplyFullName fro' +
      'm V_da_Supply'
    Parameters = <>
    Left = 192
    Top = 104
  end
  object adsOrderType: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 'Select * from V_cg_OrderType'
    Parameters = <>
    Left = 296
    Top = 200
  end
  object adsUserCompany: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select b.DeptID, b.DeptCode, b.DeptName from xt_CompanySet a '#13#10'j' +
      'oin da_Department b on a.CompanyID=b.DeptID'#13#10'where a.UserID=(sel' +
      'ect UserID from xt_Users where UserCode=:UserCode)'
    Parameters = <
      item
        Name = 'UserCode'
        Size = -1
        Value = Null
      end>
    Left = 464
    Top = 40
  end
  object adsBrowseDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    BeforePost = adsDetailBeforePost
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from cg_OrderDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 328
    Top = 40
    object adsBrowseDetailID: TStringField
      FieldName = 'ID'
    end
    object adsBrowseDetailOrderID: TStringField
      DisplayLabel = #35746#21333'ID'
      FieldName = 'OrderID'
    end
    object adsBrowseDetailOrderDetailNo: TStringField
      DisplayLabel = #37319#36141#35746#21333#26126#32454#21333#21495
      FieldName = 'OrderDetailNo'
    end
    object adsBrowseDetailCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsBrowseDetailres_CustName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_CustName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustShortName'
      KeyFields = 'CustID'
      Lookup = True
    end
    object adsBrowseDetailCustOrderDetailNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#26126#32454#21333#21495
      FieldName = 'CustOrderDetailNo'
    end
    object adsBrowseDetailCustOrderNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#21495
      FieldName = 'CustOrderNo'
    end
    object adsBrowseDetailCustProductCode: TStringField
      DisplayLabel = #23458#25143#36135#21495
      FieldName = 'CustProductCode'
      Size = 50
    end
    object adsBrowseDetailCustColor: TStringField
      DisplayLabel = #23458#25143#39068#33394
      FieldName = 'CustColor'
      Size = 50
    end
    object adsBrowseDetailProductID: TStringField
      DisplayLabel = #20135#21697'ID'
      FieldName = 'ProductID'
    end
    object adsBrowseDetailProductCode: TStringField
      DisplayLabel = #20135#21697#32534#30721
      FieldName = 'ProductCode'
    end
    object adsBrowseDetailProductName: TStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'ProductName'
      Size = 50
    end
    object adsBrowseDetailSpecs: TStringField
      DisplayLabel = #22411#21495#35268#26684
      FieldName = 'Specs'
      Size = 200
    end
    object adsBrowseDetailSupplySpecs: TStringField
      DisplayLabel = #20379#24212#21830#22411#21495
      FieldName = 'SupplySpecs'
    end
    object adsBrowseDetailColorID: TStringField
      FieldName = 'ColorID'
    end
    object adsBrowseDetailColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsBrowseDetailColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 30
    end
    object adsBrowseDetailHeight: TStringField
      DisplayLabel = #33457#39640
      FieldName = 'Height'
      Size = 50
    end
    object adsBrowseDetailWidth: TStringField
      DisplayLabel = #33457#23485
      FieldName = 'Width'
      Size = 50
    end
    object adsBrowseDetailBreadth: TStringField
      DisplayLabel = #24133#23485
      FieldName = 'Breadth'
      Size = 50
    end
    object adsBrowseDetailGram: TStringField
      DisplayLabel = #20811#37325
      FieldName = 'Gram'
      Size = 50
    end
    object adsBrowseDetailPieceCount: TFloatField
      DisplayLabel = #19979#21333#21305#25968
      FieldName = 'PieceCount'
    end
    object adsBrowseDetailNumber: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'Number'
      OnChange = adsDetailNumberChange
      Precision = 18
      Size = 2
    end
    object adsBrowseDetailUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsBrowseDetailres_UnitName: TStringField
      DisplayLabel = #21333#20301
      FieldKind = fkLookup
      FieldName = 'res_UnitName'
      LookupDataSet = res_Unit
      LookupKeyFields = 'UnitID'
      LookupResultField = 'UnitName'
      KeyFields = 'UnitID'
      Size = 10
      Lookup = True
    end
    object adsBrowseDetailPrice: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'Price'
      OnChange = adsDetailPriceChange
    end
    object adsBrowseDetailMoney: TBCDField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
      Precision = 18
      Size = 2
    end
    object adsBrowseDetailBuyRequest: TStringField
      DisplayLabel = #37319#36141#35201#27714
      FieldName = 'BuyRequest'
      Size = 500
    end
    object adsBrowseDetailBuyStatus: TWordField
      DisplayLabel = #25910#36135#24773#20917
      FieldName = 'BuyStatus'
    end
    object adsBrowseDetailRequestDate: TDateTimeField
      DisplayLabel = #20132#36135#26085#26399
      FieldName = 'RequestDate'
    end
    object adsBrowseDetailDdRequestDate: TDateTimeField
      DisplayLabel = #23458#25143#35201#27714#36135#26399
      FieldName = 'DdRequestDate'
    end
    object adsBrowseDetailBuyNumber: TFloatField
      DisplayLabel = #25910#36135#25968#37327
      FieldName = 'BuyNumber'
    end
    object adsBrowseDetailBuyDate: TDateTimeField
      DisplayLabel = #25910#36135#26085#26399
      FieldName = 'BuyDate'
    end
    object adsBrowseDetailBackNumber: TFloatField
      DisplayLabel = #36864#36135#25968#37327
      FieldName = 'BackNumber'
    end
    object adsBrowseDetailBackDate: TDateTimeField
      DisplayLabel = #36864#36135#26085#26399
      FieldName = 'BackDate'
    end
    object adsBrowseDetailStatus: TIntegerField
      DisplayLabel = #29366#24577
      FieldName = 'Status'
    end
    object adsBrowseDetailWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsBrowseDetailWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsBrowseDetailModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsBrowseDetailModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsBrowseDetailRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object res_Customer: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select CustID, CustCode, CustShortName, CustFullName from V_da_C' +
      'ustomer'
    Parameters = <>
    Left = 192
    Top = 176
  end
  object frdsDetail: TfrDBDataSet
    DataSet = adsDetail
    Left = 56
    Top = 160
  end
  object res_Unit: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select UnitID, UnitCode, UnitName from V_da_Unit'
    Parameters = <>
    Left = 464
    Top = 176
  end
  object res_Employee: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select EmpID, EmpName from V_da_Employee'
    Parameters = <>
    Left = 152
    Top = 232
  end
  object ads_Process: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ProcessID, ProcessName from V_da_Process'
    Parameters = <>
    Left = 321
    Top = 296
  end
end
